package PhamVanHien_LV2_BT02;

public class OctagonModels {
	public double Area(Octagon objC) {
		return (2 + 4 * Math.sqrt(2)) * objC.getSide() * objC.getSide();
	}

	public double Perimeter(Octagon objC) {
		return objC.getSide() * 8;
	}
}
